package core.dto;

import java.io.Serializable;
import java.util.List;

public class MarketDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private String marketid;
	private String label;
	private String lasttradeprice;
	private String volume;
	private String lasttradetime;
	private String primaryname;
	private String primarycode;
	private String secondaryname;
	private String secondarycode;
	private List<TradeDTO> recenttrades;
	
	// customization fields
	private String cnyPrice;
	
	public String getCnyPrice() {
		return cnyPrice;
	}

	public void setCnyPrice(String cnyPrice) {
		this.cnyPrice = cnyPrice;
	}

	public String getMarketid() {
		return marketid;
	}

	public void setMarketid(String marketid) {
		this.marketid = marketid;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getLasttradeprice() {
		return lasttradeprice;
	}

	public void setLasttradeprice(String lasttradeprice) {
		this.lasttradeprice = lasttradeprice;
	}

	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

	public String getLasttradetime() {
		return lasttradetime;
	}

	public void setLasttradetime(String lasttradetime) {
		this.lasttradetime = lasttradetime;
	}

	public String getPrimaryname() {
		return primaryname;
	}

	public void setPrimaryname(String primaryname) {
		this.primaryname = primaryname;
	}

	public String getPrimarycode() {
		return primarycode;
	}

	public void setPrimarycode(String primarycode) {
		this.primarycode = primarycode;
	}

	public String getSecondaryname() {
		return secondaryname;
	}

	public void setSecondaryname(String secondaryname) {
		this.secondaryname = secondaryname;
	}

	public String getSecondarycode() {
		return secondarycode;
	}

	public void setSecondarycode(String secondarycode) {
		this.secondarycode = secondarycode;
	}

	public List<TradeDTO> getRecenttrades() {
		return recenttrades;
	}

	public void setRecenttrades(List<TradeDTO> recenttrades) {
		this.recenttrades = recenttrades;
	}

	@Override
	public String toString() {
		return "MarketDTO [label=" + label + ", lasttradeprice="
				+ lasttradeprice + ", lasttradetime=" + lasttradetime
				+ ", marketid=" + marketid + ", primarycode=" + primarycode
				+ ", primaryname=" + primaryname + ", recenttrades="
				+ recenttrades + ", secondarycode=" + secondarycode
				+ ", secondaryname=" + secondaryname + ", volume=" + volume
				+ "]";
	}

}
